import type { HotResult, customRequset } from '@/types/hot'
import { http } from '@/utils/http'
import type { PageParams } from '@/types/global'

export const getHotList = ({ url, data }: customRequset<PageParams & { subType?: string }>) => {
  return http<HotResult>({
    url,
    method: 'GET',
    data,
  })
}
